FROM openshift/golang-builder@sha256:4820580c3368f320581eb9e32cf97aeec179a86c5749753a14ed76410a293d83 AS builder
ENV __doozer=update BUILD_RELEASE=202202160023.p0.g8492260.assembly.stream BUILD_VERSION=v4.10.0 OS_GIT_MAJOR=4 OS_GIT_MINOR=10 OS_GIT_PATCH=0 OS_GIT_TREE_STATE=clean OS_GIT_VERSION=4.10.0-202202160023.p0.g8492260.assembly.stream SOURCE_GIT_TREE_STATE=clean 
ENV __doozer=merge OS_GIT_COMMIT=8492260 OS_GIT_VERSION=4.10.0-202202160023.p0.g8492260.assembly.stream-8492260 SOURCE_DATE_EPOCH=1643301531 SOURCE_GIT_COMMIT=84922601528bcd051fbc1e502627cbe93b781c6b SOURCE_GIT_TAG=8492260 SOURCE_GIT_URL=https://github.com/openshift/bond-cni 
WORKDIR /go/src/github.com/openshift/bond-cni
COPY . .
RUN ./build.sh

FROM openshift/ose-base:v4.10.0.20220216.010142
ENV __doozer=update BUILD_RELEASE=202202160023.p0.g8492260.assembly.stream BUILD_VERSION=v4.10.0 OS_GIT_MAJOR=4 OS_GIT_MINOR=10 OS_GIT_PATCH=0 OS_GIT_TREE_STATE=clean OS_GIT_VERSION=4.10.0-202202160023.p0.g8492260.assembly.stream SOURCE_GIT_TREE_STATE=clean 
ENV __doozer=merge OS_GIT_COMMIT=8492260 OS_GIT_VERSION=4.10.0-202202160023.p0.g8492260.assembly.stream-8492260 SOURCE_DATE_EPOCH=1643301531 SOURCE_GIT_COMMIT=84922601528bcd051fbc1e502627cbe93b781c6b SOURCE_GIT_TAG=8492260 SOURCE_GIT_URL=https://github.com/openshift/bond-cni 

COPY --from=builder /go/src/github.com/openshift/bond-cni/bin/bond /bondcni/bond

LABEL \
        io.k8s.display-name="bond-cni" \
        io.k8s.description="This is an image containing the bond-cni executable" \
        io.openshift.tags="openshift" \
        name="openshift/ose-network-interface-bond-cni" \
        com.redhat.component="ose-network-interface-bond-cni-container" \
        io.openshift.maintainer.product="OpenShift Container Platform" \
        io.openshift.maintainer.component="Networking" \
        io.openshift.maintainer.subcomponent="multus" \
        release="202202160023.p0.g8492260.assembly.stream" \
        io.openshift.build.commit.id="84922601528bcd051fbc1e502627cbe93b781c6b" \
        io.openshift.build.source-location="https://github.com/openshift/bond-cni" \
        io.openshift.build.commit.url="https://github.com/openshift/bond-cni/commit/84922601528bcd051fbc1e502627cbe93b781c6b" \
        version="v4.10.0"

